import { createStore } from 'vuex'

export default createStore({
  state: {
    s_name:"",
    teacher_name:"",
    class_name:"",
    s_number:"",
    t_number:"",
    m_number:"",
  },
  mutations: {
    changteachername(state,val){
      state.teacher_name=val;
    },
    changclassname(state,val){
      state.class_name=val;
    },
    changsnumber(state,val){
      state.s_number=val;
    },
    changtnumber(state,val){
      state.t_number=val;
    },
    changmnumber(state,val){
      state.m_number=val;
    }
  },
  actions: {
  },
  modules: {
  }
})
